package com.jin10.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author raofy
 * @date 2022-01-21 11:36
 * @desc
 */
public class Jin10CalendarResponse {


    /**
     * status : 200
     * message : OK
     * data : [{"id":213159,"previous":"53.1","consensus":"55","actual":"21","revised":"54.6","pub_time":"2021-12-03 21:30","unit":"万人","time_period":"11月","full_time_period":null,"name":"季调后非农就业人口","star":5,"country":"美国","affect":1,"bb_unit":"K","rt_unit":"K","push":1,"show":1,"type":0,"pub_time_unix":1638538200}]
     */

    private int status;
    private String message;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 213159
         * previous : 53.1
         * consensus : 55
         * actual : 21
         * revised : 54.6
         * pub_time : 2021-12-03 21:30
         * unit : 万人
         * time_period : 11月
         * full_time_period : null
         * name : 季调后非农就业人口
         * star : 5
         * country : 美国
         * affect : 1
         * bb_unit : K
         * rt_unit : K
         * push : 1
         * show : 1
         * type : 0
         * pub_time_unix : 1638538200
         */

        private int id;
        private String previous;
        private String consensus;
        private String actual;
        private String revised;
        @JsonProperty("pub_time")
        private String pubTime;
        private String unit;
        @JsonProperty("time_period")
        private String timePeriod;
        @JsonProperty("full_time_period")
        private Object fullTimePeriod;
        private String name;
        private int star;
        private String country;
        private int affect;
        @JsonProperty("bb_unit")
        private String bbUnit;
        @JsonProperty("rt_uint")
        private String rtUnit;
        private int push;
        private int show;
        private int type;
        @JsonProperty("pub_time_unix")
        private int pubTimeUnix;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPrevious() {
            return previous;
        }

        public void setPrevious(String previous) {
            this.previous = previous;
        }

        public String getConsensus() {
            return consensus;
        }

        public void setConsensus(String consensus) {
            this.consensus = consensus;
        }

        public String getActual() {
            return actual;
        }

        public void setActual(String actual) {
            this.actual = actual;
        }

        public String getRevised() {
            return revised;
        }

        public void setRevised(String revised) {
            this.revised = revised;
        }

        public String getPubTime() {
            return pubTime;
        }

        public void setPubTime(String pubTime) {
            this.pubTime = pubTime;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getTimePeriod() {
            return timePeriod;
        }

        public void setTimePeriod(String timePeriod) {
            this.timePeriod = timePeriod;
        }

        public Object getFullTimePeriod() {
            return fullTimePeriod;
        }

        public void setFullTimePeriod(Object fullTimePeriod) {
            this.fullTimePeriod = fullTimePeriod;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStar() {
            return star;
        }

        public void setStar(int star) {
            this.star = star;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public int getAffect() {
            return affect;
        }

        public void setAffect(int affect) {
            this.affect = affect;
        }

        public String getBbUnit() {
            return bbUnit;
        }

        public void setBbUnit(String bbUnit) {
            this.bbUnit = bbUnit;
        }

        public String getRtUnit() {
            return rtUnit;
        }

        public void setRtUnit(String rtUnit) {
            this.rtUnit = rtUnit;
        }

        public int getPush() {
            return push;
        }

        public void setPush(int push) {
            this.push = push;
        }

        public int getShow() {
            return show;
        }

        public void setShow(int show) {
            this.show = show;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getPubTimeUnix() {
            return pubTimeUnix;
        }

        public void setPubTimeUnix(int pubTimeUnix) {
            this.pubTimeUnix = pubTimeUnix;
        }
    }
}
